<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Global | Global</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-jsdoc.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/tui-doc.css">

    
</head>
<body>
<nav class="lnb" id="lnb">
    <div class="logo" style="">
        
            <img src="img/toast-ui.png" width="100%" height="100%">
        
    </div>
    <div class="title">
        <h1><a href="index.html" class="link">Global</a></h1>
        
    </div>
    <div class="search-container" id="search-container">
        <input type="text" placeholder="Search">
        <ul></ul>
    </div>
    
    <div class="lnb-api hidden"><h3>Modules</h3><ul><li><a href="module-app.html">app</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:app_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-app.html#btnShowControl">btnShowControl</a></li><li><a href="module-app.html#initListener">initListener</a></li></ul></div></li><li><a href="module-article-card.html">article-card</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:article-card_sub"></div></li><li><a href="module-article-detail.html">article-detail</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:article-detail_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-article-detail.html#backToHome">backToHome</a></li><li><a href="module-article-detail.html#fetchArticleDetailAndProduct">fetchArticleDetailAndProduct</a></li><li><a href="module-article-detail.html#getArticleId">getArticleId</a></li></ul></div></li><li><a href="module-article-item.html">article-item</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:article-item_sub"></div></li><li><a href="module-article-module.html">article-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:article-module_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-article-module.html#watchDetail">watchDetail</a></li></ul></div></li><li><a href="module-back.html">back</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:back_sub"></div></li><li><a href="module-banner-module.html">banner-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:banner-module_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-banner-module.html#handleClick">handleClick</a></li></ul></div></li><li><a href="module-bestseller-module.html">bestseller-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:bestseller-module_sub"></div></li><li><a href="module-bestseller-product-card.html">bestseller-product-card</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:bestseller-product-card_sub"></div></li><li><a href="module-detail-recommend-module.html">detail-recommend-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:detail-recommend-module_sub"></div></li><li><a href="module-discovery.html">discovery</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:discovery_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-discovery.html#fetchArticles">fetchArticles</a></li><li><a href="module-discovery.html#handleClick">handleClick</a></li><li><a href="module-discovery.html#infiniteHandler">infiniteHandler</a></li><li><a href="module-discovery.html#isLastPage">isLastPage</a></li></ul></div></li><li><a href="module-grid-navs.html">grid-navs</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:grid-navs_sub"></div></li><li><a href="module-header.html">header</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:header_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-header.html#handleClick">handleClick</a></li></ul></div></li><li><a href="module-index.html">index</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:index_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-index.html#fetchModule">fetchModule</a></li><li><a href="module-index.html#isAppProtocol">isAppProtocol</a></li><li><a href="module-index.html#isUrlProtocol">isUrlProtocol</a></li><li><a href="module-index.html#linkTo">linkTo</a></li><li><a href="module-index.html#moduleSearch">moduleSearch</a></li><li><a href="module-index.html#readMockThemeName">readMockThemeName</a></li></ul></div></li><li><a href="module-more-product-card.html">more-product-card</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:more-product-card_sub"></div></li><li><a href="module-navs-module.html">navs-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:navs-module_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-navs-module.html#linkTo">linkTo</a></li></ul></div></li><li><a href="module-recommend-product.html">recommend-product</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:recommend-product_sub"></div></li><li><a href="module-recommend-product-module.html">recommend-product-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:recommend-product-module_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-recommend-product-module.html#lineThroughPrice">lineThroughPrice</a></li></ul></div></li><li><a href="module-single-product.html">single-product</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:single-product_sub"></div></li><li><a href="module-single-product-module.html">single-product-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:single-product-module_sub"></div></li><li><a href="module-special-product.html">special-product</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:special-product_sub"></div></li><li><a href="module-special-product-module.html">special-product-module</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:special-product-module_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-special-product-module.html#lineThroughPrice">lineThroughPrice</a></li></ul></div></li><li><a href="module-title.html">title</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:title_sub"></div></li><li><a href="module-views.html">views</a><button type="button" class="hidden toggle-subnav btn btn-link">  <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="module:views_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="module-views.html#backToHome">backToHome</a></li><li><a href="module-views.html#fetchMoreProducts">fetchMoreProducts</a></li><li><a href="module-views.html#parseUrlParams">parseUrlParams</a></li><li><a href="module-views.html#validateParams">validateParams</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#$t">$t</a></li><li><a href="global.html#appHandle">appHandle</a></li><li><a href="global.html#axiosRequestReject">axiosRequestReject</a></li><li><a href="global.html#axiosRequestResolve">axiosRequestResolve</a></li><li><a href="global.html#axiosResponseReject">axiosResponseReject</a></li><li><a href="global.html#axiosResponseResolve">axiosResponseResolve</a></li><li><a href="global.html#conversionTime">conversionTime</a></li><li><a href="global.html#current_locale">current_locale</a></li><li><a href="global.html#delay">delay</a></li><li><a href="global.html#deleteEmptyValue">deleteEmptyValue</a></li><li><a href="global.html#formaturl">formaturl</a></li><li><a href="global.html#getCurrentDate">getCurrentDate</a></li><li><a href="global.html#getCurrentLocale">getCurrentLocale</a></li><li><a href="global.html#getHiddenProp">getHiddenProp</a></li><li><a href="global.html#getLanguage">getLanguage</a></li><li><a href="global.html#getLanguageForBackEnd">getLanguageForBackEnd</a></li><li><a href="global.html#getLanguageOptions">getLanguageOptions</a></li><li><a href="global.html#getUploadImage">getUploadImage</a></li><li><a href="global.html#getVisibilityChangeEventName">getVisibilityChangeEventName</a></li><li><a href="global.html#i18n">i18n</a></li><li><a href="global.html#imgPreLoad">imgPreLoad</a></li><li><a href="global.html#importStyle">importStyle</a></li><li><a href="global.html#isContained">isContained</a></li><li><a href="global.html#isHidden">isHidden</a></li><li><a href="global.html#loading_toast">loading_toast</a></li><li><a href="global.html#messages">messages</a></li><li><a href="global.html#parseLanguageParameter">parseLanguageParameter</a></li><li><a href="global.html#parseQueryString">parseQueryString</a></li><li><a href="global.html#resizeModal">resizeModal</a></li><li><a href="global.html#setLanguageOptions">setLanguageOptions</a></li><li><a href="global.html#setLocale">setLocale</a></li><li><a href="global.html#setMinHeightToInnerHeight">setMinHeightToInnerHeight</a></li><li><a href="global.html#startLoading">startLoading</a></li></ul></div>
</nav>
<div id="resizer"></div>

<div class="main" id="main">
    




<section>

<header>
    
        <h2>Global</h2>
    
</header>

<article>
    

    

    

    

    

    

    

    
        <h3 class="subsection-title">Members</h3>

        <dl>
            

<dt>
<h4 class="name" id="appHandle">
    <span class="type-signature"><span class="icon green">constant</span> </span>appHandle<span class="type-signature"></span>
    
    <div class="container-source members">
        <code><a href="views_mixins_appHandle.js.html">views/mixins/appHandle.js</a></code>,
        <code><a href="views_mixins_appHandle.js.html#line14">line 14</a></code>
    </div>
    
</h4>


</dt>
<dd>
    
    <div class="description">
        方法: productSearch 首页导航查询的方法名
    </div>
    

    <!--
    
    -->

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-see">See:</dt>
    <dd class="tag-see">
        <ul>
            <li><a href="https://panxsoft.coding.net/p/Direwolf-Web/task/172941">https://panxsoft.coding.net/p/Direwolf-Web/task/172941</a></li>
        </ul>
    </dd>
    

    
</dl>


    

    
</dd>

        
            

<dt>
<h4 class="name" id="current_locale">
    <span class="type-signature"><span class="icon green">constant</span> </span>current_locale<span class="type-signature"></span>
    
    <div class="container-source members">
        <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
        <code><a href="i18n_index.js.html#line18">line 18</a></code>
    </div>
    
</h4>


</dt>
<dd>
    
    <div class="description">
        读取本地语言
    </div>
    

    <!--
    
    -->

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

    
</dd>

        
            

<dt>
<h4 class="name" id="i18n">
    <span class="type-signature"><span class="icon green">constant</span> </span>i18n<span class="type-signature"></span>
    
    <div class="container-source members">
        <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
        <code><a href="i18n_index.js.html#line31">line 31</a></code>
    </div>
    
</h4>


</dt>
<dd>
    
    <div class="description">
        配置 i18n
    </div>
    

    <!--
    
    -->

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

    
</dd>

        
            

<dt>
<h4 class="name" id="loading_toast">
    <span class="type-signature"></span>loading_toast<span class="type-signature"></span>
    
    <div class="container-source members">
        <code><a href="utils_axios-interceptors.js.html">utils/axios-interceptors.js</a></code>,
        <code><a href="utils_axios-interceptors.js.html#line6">line 6</a></code>
    </div>
    
</h4>


</dt>
<dd>
    
    <div class="description">
        承接loading_toast的空对象
    </div>
    

    <!--
    
    -->

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

    
</dd>

        
            

<dt>
<h4 class="name" id="messages">
    <span class="type-signature"><span class="icon green">constant</span> </span>messages<span class="type-signature"></span>
    
    <div class="container-source members">
        <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
        <code><a href="i18n_index.js.html#line23">line 23</a></code>
    </div>
    
</h4>


</dt>
<dd>
    
    <div class="description">
        语言文件配置
    </div>
    

    <!--
    
    -->

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

    
</dd>

        </dl>
    

    
        <h3 class="subsection-title">Methods</h3>

        <dl>
                

<dt>
    
        <h4 class="name" id="$t">
            
                <span class="type-signature"></span>$t<span class="signature">(path, options)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line51">line 51</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        翻译
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>path</code></td>
            

            <td class="type">
            
                
<span class="param-type">string</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
                
<span class="param-type">object</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="axiosRequestReject">
            
                <span class="type-signature"></span>axiosRequestReject<span class="signature">(error)</span><span class="type-signature"> &rarr; {Promise.&lt;*>}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_axios-interceptors.js.html">utils/axios-interceptors.js</a></code>,
                <code><a href="utils_axios-interceptors.js.html#line27">line 27</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        对请求错误处理后件
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>error</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">axios请求报错后返回的error对象</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Promise.&lt;*></span>





- 返回promise.reject




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="axiosRequestResolve">
            
                <span class="type-signature"></span>axiosRequestResolve<span class="signature">(config)</span><span class="type-signature"> &rarr; {Object}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_axios-interceptors.js.html">utils/axios-interceptors.js</a></code>,
                <code><a href="utils_axios-interceptors.js.html#line12">line 12</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        请求发出前处理
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>config</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">axios请求前的配置对象</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Object</span>





- axios请求前的配置对象




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="axiosResponseReject">
            
                <span class="type-signature"></span>axiosResponseReject<span class="signature">(error)</span><span class="type-signature"> &rarr; {Promise.&lt;*>}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_axios-interceptors.js.html">utils/axios-interceptors.js</a></code>,
                <code><a href="utils_axios-interceptors.js.html#line49">line 49</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        响应错误处理
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>error</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">axios响应错误后的错误对象</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Promise.&lt;*></span>








            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="axiosResponseResolve">
            
                <span class="type-signature"></span>axiosResponseResolve<span class="signature">(response)</span><span class="type-signature"> &rarr; {Object}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_axios-interceptors.js.html">utils/axios-interceptors.js</a></code>,
                <code><a href="utils_axios-interceptors.js.html#line36">line 36</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        对响成功处理
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>response</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">axios响应成功之后的返回体</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Object</span>





- axios响应成功之后的返回体




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="conversionTime">
            
                <span class="type-signature"></span>conversionTime<span class="signature">(date)</span><span class="type-signature"> &rarr; {undefined}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line152">line 152</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        毫秒转化时分秒
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>

            

            

            <td class="description last">{需要转化的毫秒}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">undefined</span>








            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="delay">
            
                <span class="type-signature"></span>delay<span class="signature">(callback, millsecond)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line16">line 16</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        包装一个延时函数
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>millsecond</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="deleteEmptyValue">
            
                <span class="type-signature"></span>deleteEmptyValue<span class="signature">(param)</span><span class="type-signature"> &rarr; {Object}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line130">line 130</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        去除对象中的空值
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>param</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">{需要进行处理的对象}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Object</span>





- {去除完毕的对象}




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="formaturl">
            
                <span class="type-signature"></span>formaturl<span class="signature">()</span><span class="type-signature"> &rarr; {Object}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line53">line 53</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        网址格式化
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Object</span>





- {格式化网址之后得到的参数对象}




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getCurrentDate">
            
                <span class="type-signature"></span>getCurrentDate<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line5">line 5</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        获取当前的时间
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- {格式化后的当前时间}




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getCurrentLocale">
            
                <span class="type-signature"></span>getCurrentLocale<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line29">line 29</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        解析当前地区
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- locale




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getHiddenProp">
            
                <span class="type-signature"></span>getHiddenProp<span class="signature">()</span><span class="type-signature"> &rarr; {String|null}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line76">line 76</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        读取hidden属性
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">String</span>
|

<span class="param-type">null</span>








            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getLanguage">
            
                <span class="type-signature"></span>getLanguage<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line59">line 59</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        获取当前语言
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- language




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getLanguageForBackEnd">
            
                <span class="type-signature"></span>getLanguageForBackEnd<span class="signature">()</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line86">line 86</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        后端的英文是 en , 中文是 zh-CN.
    </div>
    

    

    

    

    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getLanguageOptions">
            
                <span class="type-signature"></span>getLanguageOptions<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line79">line 79</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        获取语言选项
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- language




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getUploadImage">
            
                <span class="type-signature"></span>getUploadImage<span class="signature">(file, _image)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line115">line 115</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        图片上传预览
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>file</code></td>
            

            <td class="type">
            
                
<span class="param-type">file</span>


            
            </td>

            

            

            <td class="description last">{图片文件}</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>_image</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">{$refs获取节点}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="getVisibilityChangeEventName">
            
                <span class="type-signature"></span>getVisibilityChangeEventName<span class="signature">()</span><span class="type-signature"> &rarr; {String|null}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line92">line 92</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        获取 visibilityChange 的事件在当前浏览器的时间名;
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">String</span>
|

<span class="param-type">null</span>





- EventName




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="imgPreLoad">
            
                <span class="type-signature"></span>imgPreLoad<span class="signature">(src_arrs)</span><span class="type-signature"> &rarr; {array}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line74">line 74</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        图片预加载
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>src_arrs</code></td>
            

            <td class="type">
            
                
<span class="param-type">array</span>


            
            </td>

            

            

            <td class="description last">{图片链接数组}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">array</span>





- {加载后的图片数组}




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="importStyle">
            
                <span class="type-signature"></span>importStyle<span class="signature">(styleName)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="utils_dom-helper.js.html">utils/dom-helper.js</a></code>,
                <code><a href="utils_dom-helper.js.html#line21">line 21</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        动态创建style标签并插入head标签里面
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>styleName</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>

            

            

            <td class="description last">{需要插入的style标签名}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="isContained">
            
                <span class="type-signature"></span>isContained<span class="signature">(a, b)</span><span class="type-signature"> &rarr; {Boolean}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line94">line 94</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        判断a数组是否包含b数组
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>a</code></td>
            

            <td class="type">
            
                
<span class="param-type">array</span>


            
            </td>

            

            

            <td class="description last">{判断的a数组}</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>b</code></td>
            

            <td class="type">
            
                
<span class="param-type">array</span>


            
            </td>

            

            

            <td class="description last">{判断的b数组}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">Boolean</span>





- {true代表包含，false代表不包含}




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="isHidden">
            
                <span class="type-signature"></span>isHidden<span class="signature">()</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line114">line 114</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        获取当前页面hide状态
    </div>
    

    

    

    

    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="parseLanguageParameter">
            
                <span class="type-signature"></span>parseLanguageParameter<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line49">line 49</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        解析语言参数 优先选择 url search 然后是浏览器环境 (navigator.languages) 最后默认zh-CN
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- language zh-CN OR en-US




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="parseQueryString">
            
                <span class="type-signature"></span>parseQueryString<span class="signature">()</span><span class="type-signature"> &rarr; {object}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_helper.js.html">utils/helper.js</a></code>,
                <code><a href="utils_helper.js.html#line67">line 67</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        解析query string
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">object</span>





- query information




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="resizeModal">
            
                <span class="type-signature"></span>resizeModal<span class="signature">()</span><span class="type-signature"> &rarr; {undefined}</span>
                
            
            <div class="container-source members">
                <code><a href="utils_utils.js.html">utils/utils.js</a></code>,
                <code><a href="utils_utils.js.html#line167">line 167</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        调整模态框的水平居中
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">undefined</span>








            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="setLanguageOptions">
            
                <span class="type-signature"></span>setLanguageOptions<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line71">line 71</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        设置语言
    </div>
    

    

    

    

    

    

    

    

    

    

    
    <div class="container-returns">
        <h5>Returns:</h5>
        
                



<span class="param-type">string</span>





- language




            
    </div>
    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="setLocale">
            
                <span class="type-signature"></span>setLocale<span class="signature">(locale)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="i18n_index.js.html">i18n/index.js</a></code>,
                <code><a href="i18n_index.js.html#line41">line 41</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        切换语言
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>locale</code></td>
            

            <td class="type">
            
                
<span class="param-type">string</span>


            
            </td>

            

            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="setMinHeightToInnerHeight">
            
                <span class="type-signature"></span>setMinHeightToInnerHeight<span class="signature">(elem)</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="utils_dom-helper.js.html">utils/dom-helper.js</a></code>,
                <code><a href="utils_dom-helper.js.html#line13">line 13</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        设置当前节点高度为屏幕可视高度
    </div>
    

    

    

    

    
    <div class="container-params">
        <h5>Parameters:</h5>
        
<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>elem</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">{节点对象}</td>
        </tr>

    
    </tbody>
</table>

    </div>
    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            
                

<dt>
    
        <h4 class="name" id="startLoading">
            
                <span class="type-signature"></span>startLoading<span class="signature">()</span><span class="type-signature"></span>
                
            
            <div class="container-source members">
                <code><a href="handleRouter.js.html">handleRouter.js</a></code>,
                <code><a href="handleRouter.js.html#line19">line 19</a></code>
            </div>
            
        </h4>

        
    
</dt>
<dd>

    
    <div class="description">
        开启loading
    </div>
    

    

    

    

    

    

    

    

    

    

    

    


<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>


    

</dd>

            </dl>
    

    

    
</article>

</section>




</div>

<footer>
    <img class="logo" src="img/toast-ui.png" style="">
    <div class="footer-text">NHN Entertainment. Frontend Development Lab</div>
</footer>
<script>prettyPrint();</script>
<script src="scripts/jquery.min.js"></script>
<script src="scripts/tui-doc.js"></script>
<script src="scripts/linenumber.js"></script>

    <script>
        var id = '_sub'.replace(/"/g, '_');
        var selectedApi = document.getElementById(id); // do not use jquery selector
        var $selectedApi = $(selectedApi);

        $selectedApi.removeClass('hidden');
        $selectedApi.parent().find('.glyphicon').removeClass('glyphicon-plus').addClass('glyphicon-minus');
        showLnbApi();
    </script>

</body>
</html>